package com.aps.server.entity;

import com.aps.common.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * APS约束规则实体类
 * 对应数据库表 aps_constraint
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("aps_constraint")
public class ApsConstraint extends BaseEntity {
    /**
     * 主键ID
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    
    /**
     * 租户ID
     */
    @TableField("tenant_id")
    private String tenantId;
    
    /**
     * 约束名称
     */
    @TableField("constraint_name")
    private String constraintName;

    /**
     * 直接删除
     */
    @Schema(description = "更新人", example = "admin")
    @TableField("del_flag")
    private String delFlag;

}
